﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media;

namespace 蓝牙注册工具.ViewModel
{
    public class ChannelViewModel : Notify
    {
        string _Port = "";
        public string Port { get => _Port; set { SetProperty(ref _Port, value); } }
        ObservableCollection<string> _Ports = new ObservableCollection<string>();
        public ObservableCollection<string> Ports { get => _Ports; set { SetProperty(ref _Ports, value); } }
        SolidColorBrush _InitColor = Brushes.LightGray;
        public SolidColorBrush InitColor { get => _InitColor; set { SetProperty(ref _InitColor, value); } }

        SolidColorBrush _InfoColor = Brushes.LightGray;
        public SolidColorBrush InfoColor { get => _InfoColor; set { SetProperty(ref _InfoColor, value); } }

        string _MacText = "蓝牙地址";
        public string MacText { get => _MacText; set { SetProperty(ref _MacText, value); } }

        string _VerText = "软件版本";
        public string VerText { get => _VerText; set { SetProperty(ref _VerText, value); } }
        string _TypeText = "型号";
        public string TypeText { get => _TypeText; set { SetProperty(ref _TypeText, value); } }

        SolidColorBrush _SearchColor = Brushes.LightGray;
        public SolidColorBrush SearchColor { get => _SearchColor; set { SetProperty(ref _SearchColor, value); } }

        string _DbmText = "信号强度";
        public string DbmText { get => _DbmText; set { SetProperty(ref _DbmText, value); } }

        SolidColorBrush _UpColor = Brushes.LightGray;
        public SolidColorBrush UpColor { get => _UpColor; set { SetProperty(ref _UpColor, value); } }
    }
}
